/*
 * Copyright Owen Watson 2009
 * 
 * This file is part of ArtNotes.
 *
 * ArtNotes is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.

 * ArtNotes is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with ArtNotes.  If not, see <http://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;

namespace ArtNotes
{
	public partial class anTableViewCell : UIViewController
	{
		#region Constructors

		// The IntPtr and NSCoder constructors are required for controllers that need 
		// to be able to be created from a xib rather than from managed code

		public anTableViewCell (IntPtr handle) : base(handle)
		{
			Initialize ();
		}

		[Export("initWithCoder:")]
		public anTableViewCell (NSCoder coder) : base(coder)
		{
			Initialize ();
		}

		public anTableViewCell ()
		{
			Initialize ();
		}

		void Initialize ()
		{
		}

		#endregion

		public UIImageView anCustomImageView
		{
			get { return anImageView; }
			set { anImageView = value; }
		}
		
		public UIImageView anExportImageView
		{
			get { return anExportImage; }
			set { anExportImage = value; }
		}
		
		public UIImageView anImageCountImageView
		{
			get { return anImgImageCount; }
			set { anImgImageCount = value; }
		}
		
		public string anImageCountLabel
		{
			get { return anLblImageCount.Text; }
			set {
				anLblImageCount.TextColor = UIColor.White;
				anLblImageCount.Font = UIFont.FromName ("Marker Felt", 11);
				anLblImageCount.Text = value;
			}
		}
		
		public string anCustomDescription
		{
			get { return anDescription.Text; }
			set {
				anDescription.Font = UIFont.FromName ("Marker Felt", 11);
				anDescription.Text = value;
			}
		}
		
		public string anCustomTitle
		{
			get { return anTitle.Text; }
			set {
				anTitle.Font = UIFont.FromName ("Marker Felt", 25);
				anTitle.TextColor = UIColor.DarkGray;
				anTitle.Text = value;
			}
		}
		
		public UITableViewCell Cell
		{
			get { return cell; }
		}
	}
}
